<?php if (!defined('THINK_PATH')) exit(); /*a:1:{s:95:"/www/wwwroot/jiedai.bianshenn.top/public/../application/admin/view/authentication/loan_det.html";i:1554197974;}*/ ?>
<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <meta name="renderer" content="webkit">
    <title></title>
    <link rel="stylesheet" href="../css/pintuer.css">
    <link rel="stylesheet" href="../css/admin.css">
    <script src="../js/jquery.js"></script>
    <script src="../js/pintuer.js"></script>
</head>
<body>
<form action="expressupdate" method="post" name="form1" enctype="multipart/form-data">
    <div class="panel admin-panel">
        <div class="panel-head"><strong> 编辑信息</strong></div>
        <div class="body-content">
            <div class="form-x">
                <div class="form-group">
                    <div class="label">
                        <label for="sitename" style="display: none">ID：</label>
                    </div>
                    <div class="field">
                        <input type="text" class="input w50"  name="memberid" size="50" style="display: none" value="<?php echo $list['memberid']; ?>" data-validate="required:请输入内容,repeat#password:"/>
                    </div>
                </div>

                <div class="form-group">
                    <div class="label">
                        <label for="sitename">ID：</label>
                    </div>
                    <div class="field">
                        <input type="text" class="input w50"  name="memberid" disabled  size="50" value="<?php echo $list['memberid']; ?>" data-validate="required:请输入内容,repeat#password:"/>
                    </div>
                </div>
                <div class="form-group">
                    <div class="label">
                        <label for="sitename">姓名：</label>
                    </div>
                    <div class="field">
                        <input type="text" class="input w50"  name="name"  size="50" value="<?php echo $list['name']; ?>" data-validate="required:请输入内容,repeat#password:"/>
                    </div>
                </div>
                <div class="form-group">
                    <div class="label">
                        <label for="sitename">身份证号：</label>
                    </div>
                    <div class="field">
                        <input type="text" class="input w50"  name="idcardno"  size="50" value="<?php echo $list['idcardno']; ?>" data-validate="required:请输入内容,repeat#password:"/>
                    </div>
                </div>
                <div class="form-group">
                    <div class="label">
                        <label for="sitename">省：</label>
                    </div>
                    <div class="field">
                        <input type="text" class="input w50"  name="s_province"  size="50" value="<?php echo $list['s_province']; ?>" data-validate="required:请输入内容,repeat#password:"/>
                    </div>
                </div>
                <div class="form-group">
                    <div class="label">
                        <label for="sitename">市：</label>
                    </div>
                    <div class="field">
                        <input type="text" class="input w50"  name="s_city"  size="50" value="<?php echo $list['s_city']; ?>" data-validate="required:请输入内容,repeat#password:"/>
                    </div>
                </div>
                <div class="form-group">
                    <div class="label">
                        <label for="sitename">区：</label>
                    </div>
                    <div class="field">
                        <input type="text" class="input w50"  name="s_county"  size="50" value="<?php echo $list['s_county']; ?>" data-validate="required:请输入内容,repeat#password:"/>
                    </div>
                </div>
                <div class="form-group">
                    <div class="label">
                        <label for="sitename">详情地址：</label>
                    </div>
                    <div class="field">
                        <input type="text" class="input w50"  name="idcardnoaddress"  size="50" value="<?php echo $list['idcardnoaddress']; ?>" data-validate="required:请输入内容,repeat#password:"/>
                    </div>
                </div>

                <div class="form-group">
                    <div class="label">
                        <label for="sitename">微信号：</label>
                    </div>
                    <div class="field">
                        <input type="text" class="input w50"  name="weixin"  size="50" value="<?php echo $list['weixin']; ?>" data-validate="required:请输入内容,repeat#password:"/>
                    </div>
                </div>
                <div class="form-group">
                    <div class="label">
                        <label for="sitename">支付宝账号：</label>
                    </div>
                    <div class="field">
                        <input type="text" class="input w50"  name="alipay"  size="50" value="<?php echo $list['alipay']; ?>" data-validate="required:请输入内容,repeat#password:"/>
                    </div>
                </div>

                <div class="form-group">
                    <div class="label">
                        <label for="sitename">支付宝信用分：</label>
                    </div>
                    <div class="field">
                        <label class="layui-form-label">图片上传</label>
                        <input type="file" class="files" name="score" id="score"><br/>
                        <img class="files" src="../../uploads/<?php echo $list['score']; ?>" width="300px" height="170px">
                    </div>
                </div>

                <div class="form-group">
                    <div class="label">
                        <label for="sitename">支付宝详情：</label>
                    </div>
                    <div class="field">
                        <label class="layui-form-label">图片上传</label>
                        <input type="file" class="files" name="alipaydetails" id="alipaydetails"><br/>
                        <img class="files" src="../../uploads/<?php echo $list['alipaydetails']; ?>" width="300px" height="170px">
                    </div>
                </div>

                <div class="form-group">
                    <div class="label">
                        <label for="sitename">手持身份证：</label>
                    </div>
                    <div class="field">
                        <label class="layui-form-label">图片上传</label>
                        <input type="file" class="files" name="personal" id="personal"><br/>
                        <img class="files" src="../../uploads/<?php echo $list['personal']; ?>" width="300px" height="170px">
                    </div>
                </div>

                <div class="form-group">
                    <div class="label">
                        <label for="sitename">身份证正面：</label>
                    </div>
                    <div class="field">
                        <label class="layui-form-label">图片上传</label>
                        <input type="file" class="files" name="identitycardimgjust" id="identitycardimgjust" ><br/>
                        <img class="files" src="../../uploads/<?php echo $list['identitycardimgjust']; ?>" width="300px" height="170px">
                    </div>
                </div>
                <div class="form-group">
                    <div class="label">
                        <label for="sitename">身份证反面：</label>
                    </div>
                    <div class="field">
                        <label class="layui-form-label">图片上传</label>
                        <input type="file" class="files" name="identitycardimgback" id="identitycardimgback"><br/>
                        <img class="files" src="../../uploads/<?php echo $list['identitycardimgback']; ?>" width="300px" height="170px">
                    </div>
                </div>

                <div class="form-group">
                    <div class="label">
                        <label for="sitename">银行卡号：</label>
                    </div>
                    <div class="field">
                        <input type="text" class="input w50"  name="bankcard"  size="50" value="<?php echo $list['bankcard']; ?>" data-validate="required:请输入内容,repeat#password:"/>
                    </div>
                </div>
                <div class="form-group">
                    <div class="label">
                        <label for="sitename">开户地址：</label>
                    </div>
                    <div class="field">
                        <input type="text" class="input w50"  name="address"  size="50" value="<?php echo $list['address']; ?>" data-validate="required:请输入内容,repeat#password:"/>
                    </div>
                </div>
                <div class="form-group">
                    <div class="label">
                        <label for="sitename">认证手机号：</label>
                    </div>
                    <div class="field">
                        <input type="text" class="input w50"  name="phone"  size="50" value="<?php echo $list['phone']; ?>" data-validate="required:请输入内容,repeat#password:"/>
                    </div>
                </div>
                <div class="form-group">
                    <div class="label">
                        <label for="sitename">审核：</label>
                    </div>
                    <div class="field">
                        <?php if(($list['examine'] == 0)): ?>
                        <select id="type" class="input w50" name="examine">
                            <option value="0" selected="">未审核</option>
                            <option value="1">已审核</option>
                        </select>
                        <?php endif; if(($list['examine'] == 1)): ?>
                        <select id="type" class="input w50" name="examine">
                            <option value="0" >未审核</option>
                            <option value="1" selected="">已审核</option>
                        </select>
                        <?php endif; ?>
                    </div>
                </div>
                <div class="form-group">
                    <div class="label">
                        <label for="sitename">紧急联系人1：<?php echo $list['name1']; ?></label>
                    </div>
                    <div class="field">
                        <input type="text" class="input w50" name="emergencycontact1"  value="<?php echo $list['emergencycontact1']; ?>" size="50" />
                    </div>
                    <div class="label">
                        <?php if(($list['relationship1'] ==1)): ?>
                        <label for="sitename">关系：父母</label>
                        <?php endif; if(($list['relationship1'] ==2)): ?>
                        <label for="sitename">关系：兄妹</label>
                        <?php endif; if(($list['relationship1'] ==3)): ?>
                        <label for="sitename">关系：朋友</label>
                        <?php endif; if(($list['relationship1'] ==4)): ?>
                        <label for="sitename">关系：同事</label>
                        <?php endif; ?>
                    </div>
                </div>

                <div class="form-group">
                    <div class="label">
                        <label for="sitename">紧急联系人2：<?php echo $list['name2']; ?></label>
                    </div>
                    <div class="field">
                        <input type="text" class="input w50" name="emergencycontact2"  value="<?php echo $list['emergencycontact2']; ?>" size="50" />
                    </div>
                    <div class="label">
                        <?php if(($list['relationship2'] ==1)): ?>
                        <label for="sitename">关系：父母</label>
                        <?php endif; if(($list['relationship2'] ==2)): ?>
                        <label for="sitename">关系：兄妹</label>
                        <?php endif; if(($list['relationship2'] ==3)): ?>
                        <label for="sitename">关系：朋友</label>
                        <?php endif; if(($list['relationship2'] ==4)): ?>
                        <label for="sitename">关系：同事</label>
                        <?php endif; ?>
                    </div>
                </div>
                <div class="form-group">
                    <div class="label">
                        <label for="sitename">紧急联系人3：<?php echo $list['name3']; ?></label>
                    </div>
                    <div class="field">
                        <input type="text" class="input w50" name="emergencycontact3"  value="<?php echo $list['emergencycontact3']; ?>" size="50" />
                    </div>
                    <div class="label">
                        <?php if(($list['relationship3'] ==1)): ?>
                        <label for="sitename">关系：父母</label>
                        <?php endif; if(($list['relationship3'] ==2)): ?>
                        <label for="sitename">关系：兄妹</label>
                        <?php endif; if(($list['relationship3'] ==3)): ?>
                        <label for="sitename">关系：朋友</label>
                        <?php endif; if(($list['relationship3'] ==4)): ?>
                        <label for="sitename">关系：同事</label>
                        <?php endif; ?>
                    </div>
                </div>
            </div>
            </div>
            <center><button class="button bg-main icon-check-square-o" onclick="expressupdate(<?php echo $list['id']; ?>)"> 确定</button>   </center>

        </div>
    </div>
    </div>

</body>
<script>
    function expressupdate(a) {
        document.form1.action="expressupdate?id="+a;
        //alert(123);
        document.form1.submit();
    }
</script>
</html>